import type { RouteRecordRaw } from 'vue-router'

function Layout() {
  return import('@/layouts/index.vue')
}

const routes: RouteRecordRaw = {
  path: '/',
  component: Layout,
  redirect: '/ProjectManagement/page',
  name: 'ProjectManagement',
  meta: {
    title: '项目管理',
    icon: 'i-heroicons-solid:menu-alt-3',
  },
  children: [
    {
      component: () => import('@/views/ProjectManagement/index.vue'),
      meta: {
        title: '项目管理',
      },
      name: 'ProjectManagement',
      path: 'page',
    },

  ],
}

export default routes
